package com.meila.cms.dao;

import java.util.List;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.meila.cms.entity.Parts;
import com.meila.cms.model.PartsModel;

public interface PartsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Parts record);

    int insertSelective(Parts record);

    Parts selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Parts record);

    int updateByPrimaryKey(Parts record);

	List<PartsModel> findParts(PartsModel partsModel, PageBounds pageBounds);

	int findPartsCount(PartsModel partsModel, PageBounds pageBounds);
	
	List selectSelective(PartsModel partsModel);
}